package com.qhit.dao;

import com.qhit.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.HashMap;
import java.util.List;

@Mapper
public interface GoodsMappper {
    List<Goods> getList(HashMap hashMap);


    List<Goods> getList2();

    Long getListCount(HashMap hashMap);

    int add(Goods goods);

    Goods getGoodsById(Integer id);

    int edit(Goods goods);

     int delete(Integer id);
}
